<?php
namespace app\index\model;

use think\Model;

class LoginFailModel extends Model
{

    protected $table = 'newzs_loginfail';


    public static function add_fail($tel, $pass, $ip){
        $data = [
            'tel' => $tel,
            'pass' => $pass,
            'ip' => $ip,
            'optdt' => date('Y-m-d H:i:s'),
        ];
        return self::create($data);
    }



}
